package com.qbccn.blog.mapper;

import com.qbccn.blog.entity.BgUser;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * @author linke
 * @date 2019-12-22 下午 20:50
 * @description
 */
public interface BgUserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BgUser record);

    int insertSelective(BgUser record);

    BgUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BgUser record);

    int updateByPrimaryKey(BgUser record);

    int batchInsert(@Param("list") List<BgUser> list);

    BgUser get(@Param("username") String username);

}